package com.atguigu.tingshu.account.client.impl;


import com.atguigu.tingshu.account.client.RechargeInfoFeignClient;
import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.model.account.RechargeInfo;
import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @author sun
 */
@Slf4j
@Component
public class RechargeInfoDegradeFeignClient implements RechargeInfoFeignClient {



    /**
     * 根据订单号查询充值信息
     *
     * @param orderNo 订单号
     * @return 充值信息
     */
    @Override
    public Result<RechargeInfo> getRechargeInfo(String orderNo) {
        log.error("根据订单号{}查询充值信息远程调用失败",orderNo);
        return null;
    }
}
